home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Brailler 0.5ß / Brailler 0.5ß.source / brlr ƒ / program globals.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-30  |  724 b   |  42 lines  |  [TEXT/MMCC]

  1. #ifndef _PROGRAM_GLOBALS_H_
  2. #define _PROGRAM_GLOBALS_H_
  3.  
  4. #define CREATOR            'BrLr'
  5. #define APPLICATION_NAME "\pBrailler"
  6. #define    SAVE_TYPE        'TEXT'
  7. #define    SAVE_VERSION    1
  8.  
  9. enum
  10. {
  11.     kAboutWindow=0,        /* about box */
  12.     kAboutMSGWindow,    /* "About MSG" splash screen */
  13.     kOtherMSGWindow,    /* other MSG products window */
  14.     kHelpWindow,        /* help window */
  15.     kMainWindow,        /* main graphics window */
  16.     kFloatingWindow
  17. };
  18.  
  19. enum ErrorTypes
  20. {
  21.     allsWell=0,
  22.     
  23.     /* shell errors */
  24.     kNoMemory,
  25.     kNoMemoryAndQuitting,
  26.     kProgramIntegrityNotVerified,
  27.     kProgramIntegritySet,
  28.     kSystemTooOld,
  29.     userCancelErr,
  30.     
  31.     kCantCreateFile,
  32.     kCantOpenFileToSave,
  33.     kDiskFull,
  34.     kCantWriteFile,
  35.     kCantOpenFileToLoad,
  36.     kCantLoadFile
  37. };
  38.  
  39. extern    short            gGrade;
  40.  
  41. #endif
  42.